]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: make the icon visible again when going from ethernet to nothing
authorDan Winship <danw@gnome.org>
Tue, 8 Oct 2013 18:26:38 +0000 (14:26 -0400)
committerDan Winship <danw@gnome.org>
Tue, 8 Oct 2013 18:26:38 +0000 (14:26 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=709638

js/ui/status/network.js

index cc8d6c60afd1bf2dc853f785346814cf5e557388..6a2efc9a08ae8f075c612b2a06be90e3b44d52b8 100644 (file)
@@ -1587,6 +1587,7 @@ const NMApplet = new Lang.Class({
     _updateIcon: function() {
         if (!this._client.networking_enabled || !this._mainConnection) {
             this._primaryIndicator.icon_name = 'network-offline-symbolic';
+            this._primaryIndicator.visible = true;
         } else {
             let dev = this._mainConnection._primaryDevice;
             this._primaryIndicator.visible = (dev != null);